//
//  AboutViewController.m
//  HuateVideo
//
//  Created by  on 12-5-20.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "AboutViewController.h"
#import "AppDelegate.h"
@interface AboutViewController ()

@end

@implementation AboutViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor=TOOLBAR_TINTCOLOR;
	// Do any additional setup after loading the view.
    NSString* str=LS(@"56567.com\n\n新疆最全最大的维吾尔族休闲娱乐门户网站\n\n客户服电话:  0991-6656567\n\n免长途克服电话: 968008888转56567\n\n广告订购电话: 0991-4558113\n\n其他介绍内容");
    
    UIImageView*imgv=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"largelogo.png"]];
    imgv.frame=CGRectMake(32, 28, 257, 49);
    [self.view addSubview:imgv];
    [imgv release];
    
    UITextView* textv=[[UITextView alloc] initWithFrame:CGRectMake(25, 90, 270, 321)];
    textv.text=str;
    textv.textColor=[UIColor whiteColor];
    textv.userInteractionEnabled=NO;
    textv.font=[UIFont systemFontOfSize:16];
    textv.backgroundColor=[UIColor clearColor];
    [self.view addSubview:textv];
    [textv release];
}

    
    
- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end
